From 5ab18062a3c0d598d474dab4270d2893f87486e9 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 23 Nov 2016 16:39:14 +0100 Subject: [PATCH] HC: really use radial-gradient() in place of -gtk-gradient() Regenerate the css from sass.. --- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++--- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index 4d67f8a51b..4972fbc307 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -372,9 +372,9 @@ entry:drop(active):not(:only-child) + combobox > box > button.combo { ***********/ @keyframes needs_attention { from { - background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#ddd), to(transparent)); } + background-image: radial-gradient(#ddd 0%, rgba(221, 221, 221, 0) 0%); } to { - background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#ddd), to(transparent)); } } + background-image: radial-gradient(#ddd 68%, rgba(221, 221, 221, 0) 70%); } } button.titlebutton, button { min-height: 24px; min-width: 16px; @@ -840,7 +840,7 @@ button.destructive-action { .stack-switcher > button.needs-attention > label, .stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label { animation: needs_attention 150ms ease-in; - background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#ddd), to(transparent)); + background-image: radial-gradient(#ddd 68%, rgba(221, 221, 221, 0) 70%); background-size: 6px 6px; background-repeat: no-repeat; background-position: right 3px; } diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index f1faab1493..168fd043a5 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -372,9 +372,9 @@ entry:drop(active):not(:only-child) + combobox > box > button.combo { ***********/ @keyframes needs_attention { from { - background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#000), to(transparent)); } + background-image: radial-gradient(#000 0%, transparent 0%); } to { - background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#000), to(transparent)); } } + background-image: radial-gradient(#000 68%, transparent 70%); } } button.titlebutton, button { min-height: 24px; min-width: 16px; @@ -842,7 +842,7 @@ button.destructive-action { .stack-switcher > button.needs-attention > label, .stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label { animation: needs_attention 150ms ease-in; - background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#000), to(transparent)); + background-image: radial-gradient(#000 68%, transparent 70%); background-size: 6px 6px; background-repeat: no-repeat; background-position: right 3px; } -- 2.30.2